<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Percepio Trace Recorder: include/trcThread.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Percepio Trace Recorder<span id="projectnumber">&#160;v4.10.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('trcThread_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle"><div class="title">trcThread.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Public trace thread APIs.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;trcTypes.h&gt;</code><br />
</div>
<p><a href="trcThread_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaa3e425ad5aa49ce912e188e0133b12de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#gaa3e425ad5aa49ce912e188e0133b12de">xTraceThreadRegister</a>(szName,  uxPriority,  uxProcess,  pxThreadHandle)&#160;&#160;&#160;<a class="el" href="group__trace__object__apis.html#ga605478977388e7ef2057eb4f5f35480a">xTraceObjectRegister2</a>(PSF_EVENT_THREAD_CREATE, (void*)0, szName, uxPriority, (TraceUnsignedBaseType_t)(uxProcess), (TraceObjectHandle_t*)(pxThreadHandle))</td></tr>
<tr class="memdesc:gaa3e425ad5aa49ce912e188e0133b12de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register trace thread in the trace.  <br /></td></tr>
<tr class="separator:gaa3e425ad5aa49ce912e188e0133b12de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0892ec865f3bf877d9f7789e9500ca98"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#ga0892ec865f3bf877d9f7789e9500ca98">xTraceThreadRegisterWithoutHandle</a>(pvThread,  szName,  uxPriority,  uxProcess)&#160;&#160;&#160;<a class="el" href="group__trace__object__apis.html#ga957e43ad6d5cc89c0ace01b1c1449996">xTraceObjectRegisterWithoutHandle2</a>(PSF_EVENT_THREAD_CREATE, (void*)(pvThread), szName, uxPriority, (TraceUnsignedBaseType_t)(uxProcess))</td></tr>
<tr class="memdesc:ga0892ec865f3bf877d9f7789e9500ca98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers trace thread without trace thread handle.  <br /></td></tr>
<tr class="separator:ga0892ec865f3bf877d9f7789e9500ca98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga821a08743ae402471a2ba5a82bb96e11"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#ga821a08743ae402471a2ba5a82bb96e11">xTraceThreadUnregister</a>(xThreadHandle,  uxPriority)&#160;&#160;&#160;<a class="el" href="group__trace__object__apis.html#ga20b1def504b1c9b237c711b3aaa49e29">xTraceObjectUnregister</a>((TraceObjectHandle_t)(xThreadHandle), PSF_EVENT_THREAD_DELETE, uxPriority)</td></tr>
<tr class="memdesc:ga821a08743ae402471a2ba5a82bb96e11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister trace thread from trace.  <br /></td></tr>
<tr class="separator:ga821a08743ae402471a2ba5a82bb96e11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6107348c6b967391bdd2e965d369bbff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#ga6107348c6b967391bdd2e965d369bbff">xTraceThreadUnregisterWithoutHandle</a>(pvThread,  uxPriority)&#160;&#160;&#160;<a class="el" href="group__trace__object__apis.html#ga304a75a1c8a64e02b0f8fe2355305555">xTraceObjectUnregisterWithoutHandle</a>(PSF_EVENT_THREAD_DELETE, (void*)(pvThread), uxPriority)</td></tr>
<tr class="memdesc:ga6107348c6b967391bdd2e965d369bbff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregisters trace thread without trace thread handle.  <br /></td></tr>
<tr class="separator:ga6107348c6b967391bdd2e965d369bbff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83a617fe127a2abf3207a00556fd5736"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#ga83a617fe127a2abf3207a00556fd5736">xTraceThreadSetPriority</a>(xThreadHandle,  uxPriority)&#160;&#160;&#160;<a class="el" href="group__trace__task__apis.html#ga3ba2b866e34a2d0ba076feb11f5488bf">xTraceTaskSetPriority</a>((TraceTaskHandle_t)(xThreadHandle), uxPriority)</td></tr>
<tr class="memdesc:ga83a617fe127a2abf3207a00556fd5736"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets trace thread priority.  <br /></td></tr>
<tr class="separator:ga83a617fe127a2abf3207a00556fd5736"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31b466f1a0c557245039f7788643896c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#ga31b466f1a0c557245039f7788643896c">xTraceThreadSetPriorityWithoutHandle</a>(pvThread,  uxPriority)&#160;&#160;&#160;<a class="el" href="group__trace__task__apis.html#gad18180891f26ad2e1d7d6d3fd85757fe">xTraceTaskSetPriorityWithoutHandle</a>(pvThread, uxPriority)</td></tr>
<tr class="memdesc:ga31b466f1a0c557245039f7788643896c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets trace thread priority without trace thread handle.  <br /></td></tr>
<tr class="separator:ga31b466f1a0c557245039f7788643896c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a186947792c634e91b4cb85dec24f6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__thread__apis.html#ga6a186947792c634e91b4cb85dec24f6a">xTraceThreadSwitch</a>(xThread,  uxPriority)&#160;&#160;&#160;<a class="el" href="group__trace__task__apis.html#ga9c9cd4b8927c3dd7af9fc7c834fef31b">xTraceTaskSwitch</a>((void*)(xThread), uxPriority)</td></tr>
<tr class="memdesc:ga6a186947792c634e91b4cb85dec24f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers trace thread switch event.  <br /></td></tr>
<tr class="separator:ga6a186947792c634e91b4cb85dec24f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Public trace thread APIs. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="trcThread_8h.html">trcThread.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
